#include #include #include #include using std::string; using std::cout; using std::cin; using std::endl; void main() { string line; int x; int y; char c; string s; getline(cin,line); std::istringstream iss(line); if(line.length() == 0) { //do nothing it was a blank line } else if(isdigit(line[0])) { iss >> x; iss >> c; iss >> y; cout << x << endl; cout << c << endl; cout << y << endl; } }